package com.lpwa.framework.netty.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.StringJoiner;

public class AoaResult {
	private  String connHandle;
	private  String channel;
	private  String rssi;
	private String mac;
	private String createTime;
	private  int playloadLength;
	private  String playload;

	public String getConnHandle() {
		return connHandle;
	}

	public void setConnHandle(String connHandle) {
		this.connHandle = connHandle;
	}

	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public String getRssi() {
		return rssi;
	}

	public void setRssi(String rssi) {
		this.rssi = rssi;
	}

	public String getMac() {
		return mac;
	}

	public void setMac(String mac) {
		this.mac = mac;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public int getPlayloadLength() {
		return playloadLength;
	}

	public void setPlayloadLength(int playloadLength) {
		this.playloadLength = playloadLength;
	}

	public String getPlayload() {
		return playload;
	}

	public void setPlayload(String playload) {
		this.playload = playload;
	}

	@Override
	public String toString() {
		return new StringJoiner(", ", AoaResult.class.getSimpleName() + "[", "]")
				.add("connHandle='" + connHandle + "'")
				.add("channel='" + channel + "'")
				.add("rssi='" + rssi + "'")
				.add("mac='" + mac + "'")
				.add("createTime='" + createTime + "'")
				.add("playloadLength=" + playloadLength)
				.add("playload='" + playload + "'")
				.toString();
	}
}
